package com.ruoyi.healthCard.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.healthCard.mapper.TBizCertDistributionMapper;
import com.ruoyi.healthCard.domain.TBizCertDistribution;
import com.ruoyi.healthCard.service.ITBizCertDistributionService;

/**
 * 健康证发放Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-06-27
 */
@Service
public class TBizCertDistributionServiceImpl implements ITBizCertDistributionService 
{
    @Autowired
    private TBizCertDistributionMapper tBizCertDistributionMapper;

    /**
     * 查询健康证发放
     * 
     * @param distId 健康证发放主键
     * @return 健康证发放
     */
    @Override
    public TBizCertDistribution selectTBizCertDistributionByDistId(Long distId)
    {
        return tBizCertDistributionMapper.selectTBizCertDistributionByDistId(distId);
    }

    /**
     * 查询健康证发放列表
     * 
     * @param tBizCertDistribution 健康证发放
     * @return 健康证发放
     */
    @Override
    public List<TBizCertDistribution> selectTBizCertDistributionList(TBizCertDistribution tBizCertDistribution)
    {
        return tBizCertDistributionMapper.selectTBizCertDistributionList(tBizCertDistribution);
    }

    /**
     * 新增健康证发放
     * 
     * @param tBizCertDistribution 健康证发放
     * @return 结果
     */
    @Override
    public int insertTBizCertDistribution(TBizCertDistribution tBizCertDistribution)
    {
        return tBizCertDistributionMapper.insertTBizCertDistribution(tBizCertDistribution);
    }

    /**
     * 修改健康证发放
     * 
     * @param tBizCertDistribution 健康证发放
     * @return 结果
     */
    @Override
    public int updateTBizCertDistribution(TBizCertDistribution tBizCertDistribution)
    {
        return tBizCertDistributionMapper.updateTBizCertDistribution(tBizCertDistribution);
    }

    /**
     * 批量删除健康证发放
     * 
     * @param distIds 需要删除的健康证发放主键
     * @return 结果
     */
    @Override
    public int deleteTBizCertDistributionByDistIds(Long[] distIds)
    {
        return tBizCertDistributionMapper.deleteTBizCertDistributionByDistIds(distIds);
    }

    /**
     * 删除健康证发放信息
     * 
     * @param distId 健康证发放主键
     * @return 结果
     */
    @Override
    public int deleteTBizCertDistributionByDistId(Long distId)
    {
        return tBizCertDistributionMapper.deleteTBizCertDistributionByDistId(distId);
    }
}
